<div id="header">
    <div id="logo"><a href="/"><img src="images/logo_iicm.jpg" alt="Logo Tài năng Việt IICM" /></a></div>
    <div id="slogan"><?php echo $slogan; ?></div>
    
    <div style="width:192px; height:37px; float:right; margin:50px 10px 0 0; background:url(images/txtSearch.png) no-repeat">
    <form action="" name="search" method="post" onSubmit="return SearchGoogle();">
        <input type="text" name="txtSearch" id="txtSearch" value="Tìm kiếm" onClick="if(value=='Tìm kiếm') value=''" onBlur="if(value=='') value='Tìm kiếm'" />
        <input type="button" name="btnSearch" id="btnSearch" onClick="SearchGoogle();" />
    </form></div>
</div>


<script type="text/javascript">
function SearchGoogle(){
	var key = document.getElementById("txtSearch").value;
	var site = document.domain;
	var qs = key + "+site:" + site;
	var url = "http://www.google.com.vn/#sclient=psy-ab&hl=vi&site=&source=hp&q=" + qs + "&pbx=1&oq=" + qs + "&aq=f&aqi=&aql=1&gs_sm=e";
	window.open(url, '_blank');
	return false;
}
</script>